<!-- HTML header for doxygen 1.8.14-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="cache-control" content="max-age=86400"/>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GBDK 2020 Docs: gbdk-lib/include/asm/mos6502/string.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen_extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GBDK 2020 Docs
   &#160;<span id="projectnumber">4.4.0</span>
   </div>
   <div id="projectbrief">API Documentation for GBDK 2020</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('asm_2mos6502_2string_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">string.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="asm_2mos6502_2string_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#ifndef STRING_INCLUDE</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#define STRING_INCLUDE</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="types_8h.html">types.h</a>&gt;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#af5b1fe1ca3f2aca8ad215962460d15a6">   20</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="asm_2mos6502_2string_8h.html#af5b1fe1ca3f2aca8ad215962460d15a6">strcpy</a>(<span class="keywordtype">char</span> *dest, <span class="keyword">const</span> <span class="keywordtype">char</span> *src) <a class="code" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a>;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#a11bd144d7d44914099a3aeddf1c8567d">   32</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="asm_2mos6502_2string_8h.html#a11bd144d7d44914099a3aeddf1c8567d">strcmp</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s1, <span class="keyword">const</span> <span class="keywordtype">char</span> *s2);</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#a97bb9679dcf75637f53813a940beeab9">   42</a></span>&#160;<span class="keywordtype">void</span> *<a class="code" href="asm_2mos6502_2string_8h.html#a97bb9679dcf75637f53813a940beeab9">__memcpy</a>(<span class="keywordtype">void</span> *dest, <span class="keyword">const</span> <span class="keywordtype">void</span> *src, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#a216d2a9dfabd49eb459363d672a4512f">   43</a></span>&#160;<span class="preprocessor">#define memcpy(dst, src, n) __memcpy(dst, src, n)</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#a854ba725a4e429439ccf93b1f5ad7b3a">   47</a></span>&#160;<span class="keywordtype">void</span> *<a class="code" href="asm_2mos6502_2string_8h.html#a854ba725a4e429439ccf93b1f5ad7b3a">memmove</a> (<span class="keywordtype">void</span> *dest, <span class="keyword">const</span> <span class="keywordtype">void</span> *src, <span class="keywordtype">size_t</span> n) <a class="code" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a>;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#ace6ee45c30e71865e6eb635200379db9">   55</a></span>&#160;<span class="keywordtype">void</span> *<a class="code" href="asm_2mos6502_2string_8h.html#ace6ee45c30e71865e6eb635200379db9">memset</a> (<span class="keywordtype">void</span> *s, <span class="keywordtype">int</span> <a class="code" href="asm_2sm83_2string_8h.html#a0b3366755f3276b0243c1e0497471b7a">c</a>, <span class="keywordtype">size_t</span> n);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#a81863156a28fd2eefeee6859d768bdb1">   67</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="asm_2mos6502_2string_8h.html#a81863156a28fd2eefeee6859d768bdb1">reverse</a>(<span class="keywordtype">char</span> *s) <a class="code" href="asm_2types_8h.html#a7ed081d8dfb6902784b2fc730bbb7f96">NONBANKED</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#a13c88f5a8475fd7de5d81553cb29724a">   80</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="asm_2mos6502_2string_8h.html#a13c88f5a8475fd7de5d81553cb29724a">strcat</a>(<span class="keywordtype">char</span> *s1, <span class="keyword">const</span> <span class="keywordtype">char</span> *s2) <a class="code" href="asm_2types_8h.html#a7ed081d8dfb6902784b2fc730bbb7f96">NONBANKED</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#ac952c3ccec84a458a4d385c5273c1ca0">   88</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="asm_2mos6502_2string_8h.html#ac952c3ccec84a458a4d385c5273c1ca0">strlen</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s) <a class="code" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#a168580a0ddcb7fe754a711309966c99d">  100</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="asm_2mos6502_2string_8h.html#a168580a0ddcb7fe754a711309966c99d">strncat</a>(<span class="keywordtype">char</span> *s1, <span class="keyword">const</span> <span class="keywordtype">char</span> *s2, <span class="keywordtype">int</span> n) <a class="code" href="asm_2types_8h.html#a7ed081d8dfb6902784b2fc730bbb7f96">NONBANKED</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#a861dba2d93de82f087707bb795f5c602">  113</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="asm_2mos6502_2string_8h.html#a861dba2d93de82f087707bb795f5c602">strncmp</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s1, <span class="keyword">const</span> <span class="keywordtype">char</span> *s2, <span class="keywordtype">int</span> n) <a class="code" href="asm_2types_8h.html#a7ed081d8dfb6902784b2fc730bbb7f96">NONBANKED</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#a796a9459c4f362e51c00307044c40ed5">  130</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="asm_2mos6502_2string_8h.html#a796a9459c4f362e51c00307044c40ed5">strncpy</a>(<span class="keywordtype">char</span> *s1, <span class="keyword">const</span> <span class="keywordtype">char</span> *s2, <span class="keywordtype">int</span> n) <a class="code" href="asm_2types_8h.html#a7ed081d8dfb6902784b2fc730bbb7f96">NONBANKED</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="asm_2mos6502_2string_8h.html#a89f352da4604926eb5a5dabae5ec09e9">  143</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="asm_2mos6502_2string_8h.html#a89f352da4604926eb5a5dabae5ec09e9">memcmp</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *buf1, <span class="keyword">const</span> <span class="keywordtype">void</span> *buf2, <span class="keywordtype">size_t</span> count);</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_a11bd144d7d44914099a3aeddf1c8567d"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#a11bd144d7d44914099a3aeddf1c8567d">strcmp</a></div><div class="ttdeci">int strcmp(const char *s1, const char *s2)</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_a13c88f5a8475fd7de5d81553cb29724a"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#a13c88f5a8475fd7de5d81553cb29724a">strcat</a></div><div class="ttdeci">char * strcat(char *s1, const char *s2) NONBANKED</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_a168580a0ddcb7fe754a711309966c99d"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#a168580a0ddcb7fe754a711309966c99d">strncat</a></div><div class="ttdeci">char * strncat(char *s1, const char *s2, int n) NONBANKED</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_a796a9459c4f362e51c00307044c40ed5"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#a796a9459c4f362e51c00307044c40ed5">strncpy</a></div><div class="ttdeci">char * strncpy(char *s1, const char *s2, int n) NONBANKED</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_a81863156a28fd2eefeee6859d768bdb1"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#a81863156a28fd2eefeee6859d768bdb1">reverse</a></div><div class="ttdeci">char * reverse(char *s) NONBANKED</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_a854ba725a4e429439ccf93b1f5ad7b3a"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#a854ba725a4e429439ccf93b1f5ad7b3a">memmove</a></div><div class="ttdeci">void * memmove(void *dest, const void *src, size_t n) OLDCALL</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_a861dba2d93de82f087707bb795f5c602"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#a861dba2d93de82f087707bb795f5c602">strncmp</a></div><div class="ttdeci">int strncmp(const char *s1, const char *s2, int n) NONBANKED</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_a89f352da4604926eb5a5dabae5ec09e9"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#a89f352da4604926eb5a5dabae5ec09e9">memcmp</a></div><div class="ttdeci">int memcmp(const void *buf1, const void *buf2, size_t count)</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_a97bb9679dcf75637f53813a940beeab9"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#a97bb9679dcf75637f53813a940beeab9">__memcpy</a></div><div class="ttdeci">void * __memcpy(void *dest, const void *src, size_t len)</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_ac952c3ccec84a458a4d385c5273c1ca0"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#ac952c3ccec84a458a4d385c5273c1ca0">strlen</a></div><div class="ttdeci">int strlen(const char *s) OLDCALL</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_ace6ee45c30e71865e6eb635200379db9"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#ace6ee45c30e71865e6eb635200379db9">memset</a></div><div class="ttdeci">void * memset(void *s, int c, size_t n)</div></div>
<div class="ttc" id="aasm_2mos6502_2string_8h_html_af5b1fe1ca3f2aca8ad215962460d15a6"><div class="ttname"><a href="asm_2mos6502_2string_8h.html#af5b1fe1ca3f2aca8ad215962460d15a6">strcpy</a></div><div class="ttdeci">char * strcpy(char *dest, const char *src) OLDCALL</div></div>
<div class="ttc" id="aasm_2sm83_2string_8h_html_a0b3366755f3276b0243c1e0497471b7a"><div class="ttname"><a href="asm_2sm83_2string_8h.html#a0b3366755f3276b0243c1e0497471b7a">c</a></div><div class="ttdeci">char c</div><div class="ttdef"><b>Definition:</b> string.h:20</div></div>
<div class="ttc" id="aasm_2types_8h_html_a0971918860055db2e50dacea4da8f3bc"><div class="ttname"><a href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></div><div class="ttdeci">#define OLDCALL</div><div class="ttdef"><b>Definition:</b> types.h:21</div></div>
<div class="ttc" id="aasm_2types_8h_html_a7ed081d8dfb6902784b2fc730bbb7f96"><div class="ttname"><a href="asm_2types_8h.html#a7ed081d8dfb6902784b2fc730bbb7f96">NONBANKED</a></div><div class="ttdeci">#define NONBANKED</div><div class="ttdef"><b>Definition:</b> types.h:40</div></div>
<div class="ttc" id="atypes_8h_html"><div class="ttname"><a href="types_8h.html">types.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
</div>
</body>
</html>
